package org.luckyjourney.mapper.plan;

import org.apache.ibatis.annotations.Mapper;
import org.luckyjourney.entity.plan.Plan;
import org.luckyjourney.entity.plan.dto.PlanDTO;
import org.luckyjourney.entity.plan.vo.PlanVO;
import org.luckyjourney.entity.plan.vo.PlanVOS;

import java.util.List;

@Mapper
public interface ConsultantsPlanMapper {
    Boolean planInsert(Plan plan);

    Boolean planUpdate(Plan plan);

    List<PlanVO> selectPlan(PlanDTO planDTO);

    void planDelect(PlanDTO planDTO);

    List<PlanVOS> selectPage(PlanDTO planDTO);

    List<Plan> selectUserId(Long userId);

    List<PlanVO> selectPlanList(PlanDTO planDTO);

    PlanVO selectId(Integer planId);
}
